package com.freesky.biz.rights.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.freesky.biz.icbc.domain.TLotteryPay;
import com.freesky.biz.icbc.domain.TLotteryPayRefund;
import com.freesky.biz.rights.domain.RightsPayEntity;
import com.freesky.biz.rights.domain.RightsReceiveEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 权益支付实体
 */
public interface RightsPayMapper extends BaseMapper<RightsPayEntity> {

    Page selectPayPage(Page page, @Param("entity") RightsPayEntity entity);

    List<RightsPayEntity> selectUnProcessList();

    public int updateProcessed(@Param("id") String id);

    public int updatePayResult(RightsPayEntity rightsPay);

}
